package cn.sdormitory.service;

import cn.sdormitory.knowledgebase.dto.HandPaperDto;
import cn.sdormitory.knowledgebase.pojo.StudySkills;
import cn.sdormitory.knowledgebase.pojo.StudySkillsBatchExam;
import cn.sdormitory.knowledgebase.vo.AppSkillsBatchUserVo;
import cn.sdormitory.knowledgebase.vo.AppUserAnswerRecordVo;
import cn.sdormitory.knowledgebase.vo.StudyQuestionsVo;

import java.util.List;

public interface AppStudySkillsService {
    List<AppSkillsBatchUserVo> getSkillsBatchByUserId(Integer userId);

    StudySkills getStudySkillsById(Integer id);

    void completeLearning(Integer userId, Integer batchId);

    List<StudyQuestionsVo> getExamQuestionsById(Integer id);

    List<StudyQuestionsVo> getExamQuestionsResultByExamId(Integer examId);

    Integer handPaper(HandPaperDto handPaperDto);

    StudySkillsBatchExam getExamById(Integer examId);

    List<AppUserAnswerRecordVo> getUserAnswerRecordList(Integer userId);
}
